Allow specifying whether to inhibit cookies on a per-URL basis
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 8 Feb 2012 00:04:42 +0000 (01:04 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 8 Feb 2012 00:04:42 +0000 (01:04 +0100)
commitabdb96df8a2a1ddb370ee05651280690b5451b75
tree63ba778ab81d6b8baf5545f13f2105bc6975ad54
parent902dcf2fcb4f0c2dc373622db2b4430a213e9501
Allow specifying whether to inhibit cookies on a per-URL basis

* url-http.el (url-http-create-request): Don't send cookies unless
requested.
(url-http-parse-headers): Don't store cookies unless requested.

* url.el (url-retrieve): Ditto

* url-queue.el (url-queue-retrieve): Take an optional
`inhibit-cookies' parameter.

* url-parse.el (url): Add the `use-cookies' slot to the URL struct
to be able to keep track of whether to do cookies or not on a
per-URL basis.
lisp/url/ChangeLog
lisp/url/url-http.el
lisp/url/url-parse.el
lisp/url/url-queue.el
lisp/url/url.el